Optimal. Leaf size=80 \[ \frac{4 \sin (a+b x)}{25 b^2 \sec ^{\frac{3}{2}}(a+b x)}+\frac{12 \sqrt{\cos (a+b x)} \sqrt{\sec (a+b x)} E\left (\left .\frac{1}{2} (a+b x)\right |2\right )}{25 b^2}-\frac{2 x}{5 b \sec ^{\frac{5}{2}}(a+b x)} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0465426, antiderivative size = 80, normalized size of antiderivative = 1., number of steps used = 4, number of rules used = 4, integrand size = 18, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.222, Rules used = {4212, 3769, 3771, 2639} \[ \frac{4 \sin (a+b x)}{25 b^2 \sec ^{\frac{3}{2}}(a+b x)}+\frac{12 \sqrt{\cos (a+b x)} \sqrt{\sec (a+b x)} E\left (\left .\frac{1}{2} (a+b x)\right |2\right )}{25 b^2}-\frac{2 x}{5 b \sec ^{\frac{5}{2}}(a+b x)} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 4212
Rule 3769
Rule 3771
Rule 2639
Rubi steps
\begin{align*} \int \frac{x \sin (a+b x)}{\sec ^{\frac{3}{2}}(a+b x)} \, dx &=-\frac{2 x}{5 b \sec ^{\frac{5}{2}}(a+b x)}+\frac{2 \int \frac{1}{\sec ^{\frac{5}{2}}(a+b x)} \, dx}{5 b}\\ &=-\frac{2 x}{5 b \sec ^{\frac{5}{2}}(a+b x)}+\frac{4 \sin (a+b x)}{25 b^2 \sec ^{\frac{3}{2}}(a+b x)}+\frac{6 \int \frac{1}{\sqrt{\sec (a+b x)}} \, dx}{25 b}\\ &=-\frac{2 x}{5 b \sec ^{\frac{5}{2}}(a+b x)}+\frac{4 \sin (a+b x)}{25 b^2 \sec ^{\frac{3}{2}}(a+b x)}+\frac{\left (6 \sqrt{\cos (a+b x)} \sqrt{\sec (a+b x)}\right ) \int \sqrt{\cos (a+b x)} \, dx}{25 b}\\ &=-\frac{2 x}{5 b \sec ^{\frac{5}{2}}(a+b x)}+\frac{12 \sqrt{\cos (a+b x)} E\left (\left .\frac{1}{2} (a+b x)\right |2\right ) \sqrt{\sec (a+b x)}}{25 b^2}+\frac{4 \sin (a+b x)}{25 b^2 \sec ^{\frac{3}{2}}(a+b x)}\\ \end{align*}
Mathematica [B] time = 8.09831, size = 212, normalized size = 2.65 \[ \frac{\cos ^2\left (\frac{1}{2} (a+b x)\right ) \sqrt{\sec (a+b x)} \left (-12 \sqrt{\cos (a+b x) \sec ^4\left (\frac{1}{2} (a+b x)\right )} \text{EllipticF}\left (\sin ^{-1}\left (\tan \left (\frac{1}{2} (a+b x)\right )\right ),-1\right )+\left (5 (a+b x)-12 \tan \left (\frac{1}{2} (a+b x)\right )-5 a\right ) \left (\tan ^2\left (\frac{1}{2} (a+b x)\right )-1\right )+12 \sqrt{\cos (a+b x) \sec ^4\left (\frac{1}{2} (a+b x)\right )} E\left (\left .\sin ^{-1}\left (\tan \left (\frac{1}{2} (a+b x)\right )\right )\right |-1\right )\right )}{25 b^2}+\frac{\sqrt{\sec (a+b x)} \left (\frac{\sin (a+b x)}{25 b}+\frac{\sin (3 (a+b x))}{25 b}-\frac{1}{10} x \cos (a+b x)-\frac{1}{10} x \cos (3 (a+b x))\right )}{b} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F] time = 0.097, size = 0, normalized size = 0. \begin{align*} \int{x\sin \left ( bx+a \right ) \left ( \sec \left ( bx+a \right ) \right ) ^{-{\frac{3}{2}}}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{x \sin \left (b x + a\right )}{\sec \left (b x + a\right )^{\frac{3}{2}}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: UnboundLocalError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{x \sin{\left (a + b x \right )}}{\sec ^{\frac{3}{2}}{\left (a + b x \right )}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{x \sin \left (b x + a\right )}{\sec \left (b x + a\right )^{\frac{3}{2}}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]